package com.example.demo.vo;

import lombok.Data;

import java.io.Serializable;

@Data
public class ResultVo implements Serializable {

    /**
     * result : disconnected     connected
     * success : true
     * code : 200
     * timestamp : 1698654164296
     * message : OK
     */

    private String result;
    private boolean success;
    private int code;
    private long timestamp;
    private String message;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
